<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
    <title>欢迎页</title>
    <link rel="stylesheet" href="../style/swiper.css">
    <link rel="stylesheet" href="../style/welcome.css">
    <script src="../js/zepto.js"></script>
    <script src="../js/swiper.js"></script>
    <script src="../js/welcome.js"></script>
</head>
<body>
<div id="open">
    <a href="javascript:;">
        <img src="../images/open.png" alt="">
    </a>
</div>
<div class="swiper-container">
    <div class="swiper-wrapper">
        <div class="swiper-slide"><img src="../images/1.png"></div>
        <div class="swiper-slide"><img src="../images/2.png"></div>
        <div class="swiper-slide"><img src="../images/3.png"></div>
        <div class="swiper-slide"><img src="../images/4.png">
            <div class="button">
                <a href="index.html">
                    <img src="../images/button.png" alt="">
                </a>
            </div>
        </div>
    </div>
    <!-- 如果需要分页器 -->
    <div class="swiper-pagination"></div>
</div>
<script>
    var mySwiper = new Swiper ('.swiper-container', {
        loop: true,
        /* autoplay: 3000,*/
        autoplayDisableOnInteraction: false,
        // 如果需要分页器
        pagination: '.swiper-pagination',
    })
</script>
</body>
</html>